package com.bst.bsj.bops.web.biz.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bst.bsj.bops.web.biz.SnsFollowForCompanyService;
import com.bst.bsj.common.dal.daointerface.SnsFollowForCompanyDAO;

@Service("snsFollowForCompanyService")
public class SnsFollowForCompanyServiceImpl implements SnsFollowForCompanyService {

  @Autowired
  private SnsFollowForCompanyDAO snsFollowForCompanyDAO;

  @Override
  public Long getCountsByCom(Long companyNumber) {
    Long total = snsFollowForCompanyDAO.getCountsByCom(companyNumber);
    return total;
  }

  @Override
  public void deleteByParams(Map<String, Object> paramsMap) {
    snsFollowForCompanyDAO.deleteByParams(paramsMap);
    
  }

  @Override
  public void deleteBySeedlingCompany(Map<String, Object> paramsMap) {
    snsFollowForCompanyDAO.deleteBySeedlingCompany(paramsMap);    
  }

}
